package com.mintyfresh.tns.util;
import java.io.Serializable;

public class Pair implements Serializable {
  public double x;
  public double y;
  
  public Pair(double x, double y) {
    this.x = x;
    this.y = y;
  }

  public String toString() {
	String s = "";
	s += "(" + this.x + ", " + this.y + ")";
	return s;
  }

  public boolean equals(Pair pair) {
	if(pair.x != this.x)
		   return false;
	if(pair.y != this.y)
		   return false;
	return true;
  }
}
